<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png"
                     alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="admin.php">主页</a> - 名人堂</li>
        </ul>
    </div>
    <div id="rightside" class="user_info">
        <div class="contentcontainer">
            <div class="headings altheading">
                <h3>名人堂</h3>
            </div>
            <div class="contentbox">
                <div class="extrabottom" style="height:auto;">
                <p>
                	名人显示:默认就是粉丝数最多的在第一位.
                </p>
                    <form method="get" action="admin.php" class="form-inline" role="form" >
                       <select name="length" class="span2">
                           <option value="20"$perpages[20]>每页显示20个</option>
                           <option value="50"$perpages[50]>每页显示50个</option>
                           <option value="100"$perpages[100]>每页显示100个</option>
                       </select> 
                       <select name="order" class="span2">
                           <option value="desc">默认</option>
                           <option value="asc">正序</option>
                       </select>
                       <input type="hidden" name="ac" value="expert" />
                       <input type="hidden" value="getExpertList" name="op">
                       <input type="submit" value="点击查找" class="btn" />
                    </form>
                </div>
                <div style="clear: both;"></div>
                <table width="100%" class="table table-striped" style="margin-top:20px;">
                    <thead>
                        <tr>
                            <th>uid</th>
                            <th>昵称</th>
                            <th>申请/名人时间</th>
                            <th>结束时间</th>
                            <th>粉丝数</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <!--{loop $list[experts] $value}-->
                        <tr>
                            <td><a href="admin.php?ac=user_profile&uid={$value[uid]}" target="_blank">{$value[uid]}</a></td>
                            <td><a href="admin.php?ac=user_profile&uid={$value[uid]}" target="_blank"><!--{if $value[status] > 0}--><span style="color:red;">{$value[nickname]}</span>
                                <!--{else}-->{$value[nickname]}<!--{/if}--></a></td>
                            <td>
                                <!--{date('Y-m-d H:i',$value[dateline])}-->
                            </td>
                            <td>
                            	<!--{date('Y-m-d H:i',$value[expiration])}-->
                            </td>
                            <td>
                               {$value[followMes_count]}
                            </td>
                            <td>
                            	<a href="admin.php?uid={$value[uid]}&dateline={$value[dateline]}&ac=expert&op=removeExpert" target="_blank">
                            		删除名人
                            	</a>
                            </td>
                        </tr>
                        <!--{/loop}-->
                    </tbody>
                </table>
                
                <div class="extrabottom">
                    <ul>
                        <li><img src="static/img/icons/gif_people.gif" />作者信息</li>
                        <li><img src="static/img/icons/gif_delete.gif" />封禁</li>
                    </ul>
                    <div class="bulkactions">
                        <ul class="pagination">
                            <!--{if $prevpurl!=''}-->
                            <li class="text"><a href="{$firstpurl}" title="">第一页</a></li>
                            <li class="text"><a href="{$prevpurl}" title="">上一页</a></li>
                            <!--{/if}-->
                            <li class="text"><a href="{$nextpurl}" title="">下一页</a></li>
                        </ul>
                        <div style="clear: both;"></div>
                    </div>
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>


    </div>
    <!--{template admin/leftside}-->
    <!--{template admin/footer}-->